package todo;

public class Sim {
	public static double speed;
	
	public static long getTime() {
		return System.currentTimeMillis();
	}
	
	public static long getTime(long add) {
		return (long) (System.currentTimeMillis() + add/speed );
	}
	
	public static long time(long time) {
		return (long) (time/speed);
	}
	
	public static void sleep(long time) {
		try {
			Thread.sleep((long) (time/speed));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
